package com.deng.maintenance.dao;

import java.util.List;


import com.deng.maintenance.vo.VoteVsOrganizationVo;

public interface IVoteVsOrganization {

	public List<VoteVsOrganizationVo> searchAllDataByVoteId(int vote_id);
	public List<VoteVsOrganizationVo> searchAllDataByVoteId2(int vote_id);
	
	public int deleteData(VoteVsOrganizationVo vo);
	public int deleteData2(VoteVsOrganizationVo vo);
	public int deleteDataOperate(VoteVsOrganizationVo vo);
	public int deleteDataAdmin(VoteVsOrganizationVo vo);
	
	public List<VoteVsOrganizationVo> searchAllDataByVoteIdAndFrq(int vote_id,String frq_code);
	public List<VoteVsOrganizationVo> searchAllDataOperateByVoteIdAndFrq(int vote_id,String frq_code);
	public List<VoteVsOrganizationVo> searchAllDataAdminByVoteIdAndFrq(int vote_id,String frq_code);
	
	public List<VoteVsOrganizationVo> searchAllDataByVoteIdAndFrq2(int vote_id,String frq_code);
	public List<VoteVsOrganizationVo> searchAllDataByDispenseIdAndFrq2(int dispense_id,String frq_code);
	
	
	public int insertData(VoteVsOrganizationVo vo);
	public int insertData2(VoteVsOrganizationVo vo);
	public int insertDataOperate(VoteVsOrganizationVo vo);
	public int insertDataAdmin(VoteVsOrganizationVo vo);
	
	public VoteVsOrganizationVo searchDataByVoteId(int vote_id);
	public int updateData(VoteVsOrganizationVo vo);
}
